package lab02.test16;

public abstract class Count {
    private double a = 10;
    private double b = 7;

    double addition(){
        return a + b ;
    }
    double subtration(){
        return a-b;
    }
    double multiplication(){
        return a*b;
    }
    double division(){
        return a/b;
    }
    Count(){}
    Count(double a ,double b ){
        this.a = a;
        this.b = b;
    }

    public double getA() {
        return a;
    }

    public void setA(double a) {
        this.a = a;
    }

    public double getB() {
        return b;
    }

    public void setB(double b) {
        this.b = b;
    }
}
